package top.lixunda.ecommerce.server.good.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 七牛相关配置数据，保存在配置文件中
 * @author lixunda
 * @version time:2020/4/2 21:57
 */
@Data
@RefreshScope
@Component
public class QiNiuConfig {

    /**
     * baseUrl
     */
    @Value("${qiniu.baseUrl}")
    private String baseUrl;

}
